package org.dromara.bean.constant;

/**
 * 全局返回code定义
 *
 * @author Administrator
 */
public interface CommonCode {
    /**
     * 全局返回
     */
    public static final String TOKEN_CHECK_ERROR = "500";
    public static final String SYSTEM_ERROR = "505";
    public static final String UNKNOWN_ERROR = "10000";
    public static final String JSON_PARAM_ERROR = "10001";
    public static final String PARAM_TYPE_ERROR = "10002";
    public static final String ID_NULL_ERROR = "10003";
    public static final String ENTITY_NULL_ERROR = "10004";
    public static final String TOKEN_NULL_ERROR = "10005";
    public static final String SMART_HOSPITAL_SUCCESS = "10007";
    public static final String ADD_FAIL = "10008";
    public static final String UPDATE_FAIL = "10009";
    public static final String DELETE_FAILURE = "10010";
    public static final String BATCH_DELETE_FAILURE = "10011";
    public static final String SYS_NOT_LIMIT = "10012";
    public static final String FILE_UPLOAD_ERROR = "10013";
    public static final String FILE_UPLOAD_NULL = "10014";
    public static final String UPLOAD_OOS_ERROR = "10015";
    public static final String FILE_UPLOAD_FAIL = "10016";
    public static final String FILE_UPLOAD_OK = "10017";
    public static final String LOGIN_FAIL = "10018";
    public static final String CAPTCHA_ERROR = "10019";
    public static final String LOGIN_PASSWORD_ERROR = "10020";
    public static final String MOBILE_NULL = "10021";
    public static final String SMS_TYPE_ERROR = "10022";
    public static final String SMS_CAPTCHA_USE = "10023";
    public static final String SMS_REFUSE = "10024";
    public static final String SMS_SYS_ERROR = "10025";
    public static final String SMS_OK = "10026";
    public static final String PHONE_USED = "10027";
    public static final String SMS_PHONE_NOT_NULL = "10028";
    public static final String USER_STATUS_ERROR = "10029";

    public static final String DOCTOR_LOGOUT_ERROR = "10030";
    public static final String REG_SUCCESS = "10034";
    public static final String USER_TYPE_NULL = "10035";
    public static final String SET_USER_ROLE = "10036";
    public static final String SET_USER_ROLE_FAIL = "10037";

    public static final String FILE_TYPE_NULL = "10038";
    public static final String WX_LOGIN_NOT_NULL = "10039";
    public static final String WX_LOGIN_FAIL = "10040";
    public static final String COLLECTION_FAIL = "10041";
    public static final String NOT_RECODE = "10042";
    public static final String LIKE_FAIL = "10043";
    public static final String MEMBER_NOT_SAVE = "10044";
    public static final String MEMBER_NOT_UPDATE = "10045";
    /**
     * 科室管理
     */
    public static final String DEPARTMENT_MESSAGE_NULL = "10102";
    public static final String DEPARTMENT_HOSPITAL_ID_NOT_NULL = "10101";
    public static final String DEPARTMENT_FORMATION_BED_NOT_NULL = "10100";
    public static final String DEPARTMENT_UPLOAD_STATUS_NOT_NULL = "10103";
    public static final String DEPARTMENT_NAME_NOT_NULL = "10104";
    public static final String DEPARTMENT_TITLE_NOT_NULL = "10105";
    public static final String ID_CARD_NOT_NULL = "10106";
    /**
     * 医生管理
     */
    public static final String DOCTOR_NAME_NOT_NULL = "10200";
    public static final String DOCTOR_MOBILE_NOT_NULL = "10201";
    public static final String DOCTOR_IDENTITY_NOT_NULL = "10202";
    public static final String USER_DEL = "10203";
    public static final String DOCTOR_NOT_AUDIT = "10204";
    public static final String CANT_CLOSE_ORDER = "10205";
    public static final String NOT_DOCTOR_INFO = "10206";
    public static final String NOT_USER_ID = "10207";
    public static final String NURSE_NOT_AUDIT = "10208";//默认为待审核，通过和拒绝后，不能再修改为待审核
    /**
     * 病历管理
     */
    public static final String CASE_NAME_NOT_NULL = "10300";
    public static final String CASE_ID_CARD_NOT_NULL = "10301";
    public static final String CASE_GENDER_NOT_NULL = "10302";
    public static final String CASE_BIRTH_DATE_NOT_NULL = "10303";
    public static final String CASE_MOBILE_NOT_NULL = "10304";
    public static final String CASE_SYMPTOM_NOT_NULL = "10305";
    public static final String CASE_DESCRIBED_NOT_NULL = "10306";
    public static final String CASE_ALLERGY_NOT_NULL = "10307";
    public static final String CASE_PATIENT_HISTORY_NOT_NULL = "10308";
    public static final String CASE_DRUG_HISTORY_NOT_NULL = "10309";
    public static final String CASE_OPERATION_HISTORY_NOT_NULL = "10310";
    public static final String CASE_ID_NOT_NULL = "10311";
    public static final String CASE_ADDRESS_NOT_NULL = "10312";
    public static final String CASE_REGION_ID_NOT_NULL = "10313";
    public static final String CASE_REGION_CARD_ERROR = "10314";

    /**
     * 疾病编码
     */
    public static final String DISEASE_TITLE_NOT_NULL = "10400";
    /**
     * 医嘱管理
     */
    public static final String ADVICE_TITLE_NOT_NULL = "10500";
    /**
     * 评论管理
     */
    public static final String COMMENT_NULL_ERROR = "21201";
    /**
     * 异常病历
     */
    public static final String EYE_CASE_TITLE_NOT_NULL = "10600";
    /**
     * 药品,剂型管理
     */
    public static final String DRUG_DOSAGE_TITLE_NOT_NULL = "10700";
    /**
     * 报告管理
     */
    public static final String REPORT_TITLE_NOT_NULL = "10800";

    /**
     * 医院管理
     */
    public static final String HOSPITAL_NAME_NOT_NULL = "10900";
    public static final String HOSPITAL_REGION_NOT_NULL = "10901";
    public static final String AD_TITLE_NOT_NULL = "20000";
    public static final String PHC_USERNAME_EXIST = "20001";
    /**
     * 问诊订单
     */
    public static final String IS_ORDER_NOT_NULL = "20100";
    public static final String PAY_TYPE_NOT_NULL = "20101";
    public static final String PAY_ORDER_NO = "20102";
    /**
     * 系统消息
     */
    public static final String SYS_MESSAGE_NULL = "20200";

    /**
     * 电子处方
     */
    public static final String PRESCRIPTION_REVIEW_ERROR = "20300";

    /**
     * 患者端
     */
    public static final String WX_LOGIN_ERROR = "20400";
    public static final String LOGOUT_ERROR = "20401";
    public static final String WX_ALREADY_BOUND = "20402";
    public static final String MOBILE_ALREADY_BOUND = "20403";
    public static final String MOBILE_EXIST = "20404";
    public static final String WX_PAY_IP_ERROR = "20405";
    public static final String PAY_FAIL = "20406";
    public static final String NOT_PAY_TYPE = "20407";
    public static final String UNFINISHED_ORDER_ERROR = "20408";
    public static final String SELECT_FAIL = "20409";
    public static final String MEMBER_IM_NULL = "20410";
    public static final String NOT_FOLLOW_OK = "20411";
    public static final String ADD_FOLLOW_OK = "20412";


    /**
     * 药师管理
     */
    public static final String PHARMACIST_USERNAME_USED = "20500";
    public static final String WX_LOGIN_NULL = "20600";
    public static final String PHR_STATUS_ERROR = "20610";
    public static final String PRECRIPTION_PDF_ERROR = "20611";
    public static final String MOBILE_ILLEGAL = "20612";
    public static final String PASSWORD_LENGTH_ERROR = "20613";
    public static final String USERNAME_ILLEGAL = "20614";
    /**
     * 签名
     */
    public static final String SIGN_SUCCESS = "20700";
    public static final String SIGN_FAIL = "20701";


    /**
     * 网易云管理
     */
    public static final String IM_NAME = "20800";
    public static final String IM_ICON = "20801";
    public static final String USER_TYPE = "20802";
    public static final String IM_CHANNEL_ID = "20803";
    public static final String IM_UID = "20804";
    public static final String IM_STREAM_URL = "20805";
    public static final String IM_LAYOUT = "20806";
    public static final String IM_CID = "20807";
    public static final String IM_CHAT_NAME = "20808";
    public static final String IM_ROOM_ID = "20809";
    public static final String IM_CHAT_OPERATOR = "20810";
    public static final String IM_CHAT_TARGET = "20811";
    public static final String IM_CHAT_OPT = "20812";
    public static final String IM_CHAT_OPTVALUE = "20813";
    public static final String IM_ROOM_ACCID = "20814";
    public static final String IM_ROOM_FROM_ACCID = "20815";
    public static final String IM_ROOM_MSG_TYPE = "20816";
    public static final String IM_A_RECORD = "20817";
    public static final String IM_V_RECORD = "20818";
    public static final String IM_TASK_ERROR = "20819";
    public static final String IM_CHAT_VALID = "20819";
    public static final String IM_CHAT_TYPE = "20820";
    public static final String IM_CHANNEL_DEL_FAIL = "20821";


    /**
     * 北京签名管理
     */
    public static final String BJ_SING_NAME = "20900";
    public static final String BJ_SING_ID_TYPE = "20901";
    public static final String BJ_SING_MOBILE = "20903";
    public static final String BJ_SING_JOB_ID = "20904";
    public static final String BJ_SING_USER_ID = "20905";
    public static final String BJ_SING_ID_NUMBER = "20907";
    public static final String BJ_SIGN_REPEAT = "20908";
    public static final String DOCTOR_AUTH_CODE = "20909";
    String BJ_SIGN_DEPT = "20910";
    String BJ_SIGN_USER_TYPE = "20911";

    /**
     * 处方签字
     */
    public static final String PRESCRIPTION_NOT_SIGN_ERROR_USER = "21000";
    public static final String PRESCRIPTION_NOT_SIGN_ERROR_LOG = "21001";
    String PRESCRIPTION_ID_NULL = "21002";


    /**
     * 医生提现
     */
    public static final String DOCTOR_BANK = "21101";
    public static final String DOCTOR_NAME = "21102";
    public static final String DOCTOR_MONEY = "21103";
    public static final String DOCTOR_ID = "21104";
    public static final String DOCTOR_CARD = "21105";
    public static final String LACK_OF_BALANCE = "21106";
    public static final String DOCTOR_INFORMATION_IS_EMPTY = "21107";
    public static final String BALANCE_RETURN_FAILURE = "21108";
    public static final String WITHDRAWAL_OF_FAILURE = "21110";
    public static final String REPEAT_OPERATION = "21111";

    /**
     * 用户
     */
    public static final String USER_INFO_NOT_EXIST = "21200";


    public static final String LIVE_INFO_FULL = "21202";
    public static final String ADD_LIVE_PLAY_FAIL = "21003";
    public static final String LIVE_PEOPLE_NULL = "21004";


    public static final String ADDRESS_NOT_NULL = "22002";
    public static final String CONTENT_NOT_NULL = "22003";

    public static final String NOT_CHAT_ROOM = "22004";

    public static final String ORDER_TIME_NOT_NULL = "22005";

    public static final String ORDER_BOOK_ITEM_DATE_NULL = "22006";

    public static final String ORDER_BOOK_ITEM_DOCTOR_NULL = "22007";

    public static final String HIS_FIRST_ORDER = "22008";

    public static final String HIS_DOCTOR_ORDER_BUSY = "22009";

    public static final String HIS_FIRST_ORDER_ERROR = "22010";

//    微信
    public static final String NEED_NEW_WECHAT_BIND = "22011";
    public static final String OPENID_NOT_BINGD = "22012";
    public static final String OPENID_NOT_NEED_BINGD = "22013";
    public static final String MOBILE_BIND_FAILED = "22014";

    //2022/04/29 修改登录错误返回
    String USERNAME_OR_PASSWORD_ERR = "26001";//用户名或密码错误
    String USERNAME_OR_CAPTCHA_ERR = "26002";//用户名或验证码错误


    // 陪诊状态
    Integer AD_PENDING_PAYMENT = 100;//待付款

    Integer AD_CANCELLED = 101;//已取消
    Integer AD_PENDING_REF = 102;//待退款

    Integer AD_PENDING_ORDERS = 200;//待接单

    Integer AD_IN_SERVICE = 300;//服务中

    Integer AD_COMPLETED =  400;//已完成

    Integer AD_REFUNDED =  500;//已退款

    // 已接单
    Integer AD_ACCEPTED = 201;






}
